<script>
import { readEndurance } from "./utils/i18n";
export default {
  onLaunch: function () {
    console.log("App Launch");
    let lanange = readEndurance();
    if (lanange) {
      this.$i18n.locale = lanange;
    }
  },
  onShow: function () {
    console.log("App Show");
  },
  onHide: function () {
    console.log("App Hide");
  },
};
</script>

<style lang="scss">
@import "uview-ui/index.scss";
@import "./graceUI/animate.css";
@import "./graceUI/graceUI.css";
@import "./graceUI/graceIcons.css";
@import "./static/icon/iconfont.css";
@import "./common/css/common.css";

/* 默认背景 */
page {
  background: #fff;
}
/* 导航配色 */
.grace-header {
  background: rgba(0, 0, 0, 0);
}
.grace-header-body > view {
  color: #fff;
}
.flex {
  display: flex;
}
.flex1 {
  flex: 1;
}
.al_center {
  align-items: center;
}
</style>
